Smush\Core\Hub_Connector B

Total Complexity 76
Dependencies 9
Dependents 5
Total lines 555
Lines of code 267
Logical lines of code 129
Comment lines 174
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
add_hub_connector_data()
S
54 7 20
render_hub_connector_actions()
S
51 4 33
is_wpmudev_dashboard_connected()
S
63 5 10
admin_body_class()
S
64 4 10
is_logged_in()
S
67 4 7
disconnect()
S
67 4 7
get_connect_site_url()
S
60 3 13
customize_text_vars()
S
57 2 17
__construct()
S
57 2 16
is_valid_screen()
S
67 3 7
should_render()
S
71 3 6
register_hub_connection_success_modal()
S
65 3 10
load_hub_connector_library()
S
60 2 14
get_register_url_with_utm()
S
61 2 12
configure_hub_connector()
S
66 2 9
get_sui_version()
S
79 2 3
is_connection_flow()
S
74 2 4
has_access()
S
79 2 3
should_redirect_to_dashboard()
S
78 2 3
get_admin_url()
S
78 2 3
verify_connection_nonce()
S
68 2 7
get_sanitized_input()
S
68 2 7
get_feature_name()
S
66 2 8
disable_subsite_controls_for_unconnected_free_users()
S
72 2 6
ajax_disconnect_site()
S
66 2 8
initialize()
S
78 1 4
render()
S
79 1 3
is_hub_connector_available()
S
80 1 3
get_connection_args()
S
69 1 7
sync_after_connect()
S
80 1 3
add_site_disconnected_success_message()
S
75 1 4